-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Remove RequeueAfterError #3929
⚠️ Remove RequeueAfterError #3929
Conversation
/milestone v0.4.0 |
/retest |
/retest |
if externalResult.RequeueAfter > 0 { | ||
return ctrl.Result{RequeueAfter: externalResult.RequeueAfter}, nil | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of external.ReconcileOutput
here makes this quite confusing. Not sure I have any good suggestions on how to make it less confusing without requiring more invasive refactoring, though :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor nits/clarifications.
/retest |
Let's address/fix the comments above |
Hey folks, what's the status of this PR? |
@fabriziopandini Do you have time to rebase this PR? |
27a0948
to
d47a724
Compare
@vincepri this one should be ready to go now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ~40% way there, will continue review later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment.
d47a724
to
d30794d
Compare
@vincepri rebased+addressed almost all comments. There is only one point I'm not really happy about... |
// Infra object went missing after the machine was up and running | ||
return ctrl.Result{}, err | ||
} | ||
if infraReconcileResult.RequeueAfter > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of brittle, but TBH also the previous implementation checking the error message wasn't bullet proof...
d30794d
to
bc5e207
Compare
@fabriziopandini: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
RequeueAfterError
was deprecated in v0.3 by #3387 and follow up PR removed most of its usages.This PR completes this work by removing a few left-over usages and finally removes
RequeueAfterError
Which issue(s) this PR fixes:
Fixes #3370